package com.dtguai.app.api.form.user;


import com.dtguai.app.base.form.BaseFrom;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 用户表
 *
 * @author  guo
 * @date 2019-02-15 16:12:24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor(force = true)
@ApiModel(value = "UserForm")
public class UserForm extends BaseFrom {


    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号", example = "18600231871")
    private String mobile;


    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名", example = "陈雄")
    private String name;


    /**
     * 密码
     */
    @ApiModelProperty(value = "密码", example = "123456")
    private String password;


    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", example = "2019-01-01 11:11:11")
    private Date createTime;


    /**
     * 状态 1有效、0无效
     */
    @ApiModelProperty(value = "状态 1有效、0无效")
    private Integer type;


    /**
     * token
     */
    @ApiModelProperty(value = "token", example = "aaaaaaaa")
    private String token;


    /**
     * imei号
     */
    @ApiModelProperty(value = "imei号", example = "11111")
    private String imei;


}